package com.iot.hmi.protocol;

import com.iot.hmi.entity.IotDevice;

public abstract class AbstractProtocol implements ProtocolService {
    private final IotDevice device;

    public AbstractProtocol(IotDevice device) {
        this.device = device;
    }

    public IotDevice deviceInfo() {
        return this.device;
    }
}
